
<!doctype html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Document</title>
    <include file="../simpleboot3/public@function"/>
    <script src="__TMPL__/public/assets/js/jquery-1.10.2.min.js" language="JavaScript"></script>
    <script src="__STATIC__/js/layer/layer.js"></script>
    <style>
        input{margin:10px 80px 10px 10px;}

    </style>
</head>
<body>
<!--{:url('member/recharge')}-->
<form action="{:url('member/recharge')}" method="post" id="form3">

    会员手机号: <input type="tel" name="mobile" id="mobile" oninput="myFunction()" class="input1">
    <input type="submit" value="查询"  style="height: 35px;width: 80px" onclick="insert()"/>
</form>

</body>
</html>
<!--<script>
    function insert(){

        $.ajax({

            type: "post",//方法
            //dataType: "json",//预期服务器返回的数据类型
            url: "/home/member/recharge",//表单接收url

            data: $('#form3').serializeArray(),
            dataType : 'json',
            success: function (data) {
                alert('上传成功');

            },
            error : function() {
                alert('失败');

            }
        });


    }

</script>-->
<script>
    function select(){
        //$c= $("#mo").val();
        //alert($c);
        layer.open({
            type: 2,
            title: '充值会员查询',
            shadeClose: true,
            shade: false,
            maxmin: true, //开启最大化最小化按钮
            area: ['600px', '400px'],
            content: '//www.wyc.com/home/member/findmem'//视图路径
           /* success:function(result){
                if(result=="true"){
                    layer.alert("chenggong",function(){
                        window.parent.location.reload();
                        parent.layer.close(index);
                    });

                }
            }*/
        });


    }

</script>

<script>
    function myFunction() {
        var x = document.getElementById("mobile").value;
        document.getElementById("inp").value = "你输入的是: " + x;


    }
</script>